import Layout from '../views/layout/Layout'
const _import = require('./_import_' + process.env.NODE_ENV)
const ActivityMenu = {
  path: '/cms/activity',
  component: Layout,
  name: '活动管理',
  meta: {
    title: '活动管理',
    icon: 'chart'
  },
  authority: 'activity',
  children: [{
    path: 'activityManager',
    component: _import('cms/activity/activity'),
    name: '活动管理',
    meta: {
      title: '活动管理',
      icon: 'chart'
    },
    authority: 'activityManager'
  }, {
    path: 'joinManager',
    component: _import('cms/activity/join'),
    name: '参加活动',
    meta: {
      title: '参加活动',
      icon: 'chart'
    },
    authority: 'joinManager'
  }, {
    path: 'activityDetail',
    component: _import('cms/activity/activityDetail'),
    name: '活动详情',
    meta: {
      title: '活动详情',
      icon: 'info'
    },
    authority: 'activityDetail',
    hidden: true
  }]
}
export default ActivityMenu
